package com.weilan.blog.picture.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.weilan.blog.base.service.SuperService;
import com.weilan.blog.picture.entity.PictureCategory;
import com.weilan.blog.picture.vo.PictureCategoryVO;

import java.util.Set;

/**
 * @description:
 * @author: 孙 峰
 * @time: 2020/10/10 15:31
 */
public interface PictureCategoryService extends SuperService<PictureCategory> {
    /**
     * 获取图片分类列表
     *
     * @param pictureCategoryVO
     * @return
     */
    public IPage<PictureCategory> getPageList(PictureCategoryVO pictureCategoryVO);

    /**
     * 新增图片分类
     *
     * @param pictureCategoryVO
     */
    public String addPictureCategory(PictureCategoryVO pictureCategoryVO);

    /**
     * 编辑图片分类
     *
     * @param pictureCategoryVO
     */
    public String editPictureCategory(PictureCategoryVO pictureCategoryVO);


    /**
     * 置顶图片分类
     *
     * @param uid
     */
    public String stickPictureCategory(String uid);

    /**
     *  删除图片分类
     * @param pictureCategoryUid
     * @return
     */
    String deletePictureCategory(String pictureCategoryUid);
}
